Class symantec.itools.db.beans.sqleditor.ResultChangeEvent
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.sqleditor.ResultChangeEvent

Object
   |
   +----EventObject
           |
           +----symantec.itools.db.beans.sqleditor.ResultChangeEvent

public class ResultChangeEvent
extends EventObject

This event will be used for communication between the QueryPanel and the SQLEditor

Version:
1.0 06/15/97
Author:
Hristo Tonev

Variable Index

 o COMMAND_ADD
A command to the listeners to add the result
 o COMMAND_REMOVE
A command to the listeners to remove the result
 o COMMAND_REMOVE_ALL
A command to the listeners to remove all old results
 o COMMAND_SHOW_RESULTS
A command to the listeners to repaint itself
 o TYPE_EXCEPTION
Exception during the statement execution
 o TYPE_RESULT
A regular results

Constructor Index

 o symantec.itools.db.beans.sqleditor.ResultChangeEvent(Object, JPanel, int, int)

Method Index

 o getCommand()
 o getPanel()
 o getType()

Variables

 o COMMAND_ADD
public static final int COMMAND_ADD
A command to the listeners to add the result

 o COMMAND_REMOVE
public static final int COMMAND_REMOVE
A command to the listeners to remove the result

 o COMMAND_REMOVE_ALL
public static final int COMMAND_REMOVE_ALL
A command to the listeners to remove all old results

 o COMMAND_SHOW_RESULTS
public static final int COMMAND_SHOW_RESULTS
A command to the listeners to repaint itself

 o TYPE_EXCEPTION
public static final int TYPE_EXCEPTION
Exception during the statement execution

 o TYPE_RESULT
public static final int TYPE_RESULT
A regular results

Constructors

 o ResultChangeEvent
public ResultChangeEvent(Object source,
                         JPanel panel,
                         int type,
                         int command)

Parameters:
source - The bean that fired the event.
panel - The new JPanels
type - The type of the new result - regular result or error
command - The command to the listeners

Methods

 o getCommand
public int getCommand()
 o getPanel
public com.sun.java.swing.JPanel getPanel()
 o getType
public int getType()

All Packages  Class Hierarchy  This Package  Previous  Next  Index